package com.wxm.exception;

/**
 * <p>
 *      全局异常
 * </p>
 *
 * @author: wxm
 * @Date: 2023/4/7
 */
public class TlPayException extends RuntimeException{
    /**
     * 错误码
     */
    private Integer code;

    /**
     * 错误说明
     */
    private String msg;

    public TlPayException(Integer code,String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}
